#ifndef GNODE_H
#define GNODE_H

#include <QWidget>
#include <QtGui>
#include "graph.h"

class GNode : public QWidget
{
    Q_OBJECT
public:
    explicit GNode(QWidget *parent = 0);

    void paintEvent(QPaintEvent *);
    void mousePressEvent(QMouseEvent *event);
    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);

    Graph_Node *graphNode;
    QPointF velocity;
    double mass;
    bool isSelected;
    bool isProcessed;

signals:
public slots:

};

#endif // GNODE_H
